import React, { Component } from 'react';
import {BrowserRouter} from "react-router-dom"
import {Provider} from "react-redux"
import store from "./store/index"
import RouterView from "./router/routerView"
import RouterConfig  from "./router/router-config"
function App(){
   return (
     <Provider store={store}>
       <BrowserRouter>
          <div className="App">
             <RouterView routes={RouterConfig}></RouterView>
          </div>
       </BrowserRouter>
     </Provider>
   )
}

export default App